package com.baitiaojun.video.service;

import com.baitiaojun.api.domain.video.VideoChildComment;
import com.baitiaojun.api.domain.video.VideoComment;
import com.baitiaojun.api.exception.ConditionException;
import com.baitiaojun.api.vo.PageInfo;

import java.util.List;

/**
 * @类名 VideoChildCommentService
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2023/3/7 16:21
 * @版本 1.0
 */
public interface VideoChildCommentService {

    void addChildVideoComment(VideoComment videoComment, Long userId) throws ConditionException;

    PageInfo getPageChildVideoCommentList(Integer pageNo, Integer pageSize, Long videoId, Long rootId) throws Exception;

    void removeVideoChildComment(Long id, Long userId) throws ConditionException;

    List<VideoChildComment> getReplayVideoCommentList(Long userId) throws Exception;
}
